package com.example.malllocationserver.mapper;

import com.example.malllocationserver.entity.Comments;
import com.example.malllocationserver.entity.Store;
import com.example.malllocationserver.entity.StoreUI;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;

@Mapper
public interface StoreMapper {
    List<Store> searchByType(String type);
    List<Store> searchByName(String name);

    void addComments(String storename, String comments, String userid, Timestamp time_com);

    List<Comments> getComments(String storename);

    List<StoreUI> getStoreUI(String storename);
}
